package com.hs.shirodemo01.mapper;

import com.hs.shirodemo01.pojo.TbPermission;
import com.hs.shirodemo01.pojo.TbRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 郭敖
 * @since 2023-08-18
 */
@Mapper
public interface TbRoleMapper extends BaseMapper<TbRole> {
    List<Integer> selectAllPermissionIds(Integer id);

    List<TbPermission> selectAllPermissions(Integer id);
}
